#pragma once
#include <vector>
#include <string>
#include "StaticText.h"
using std::vector;
using std::string;
class CInputBox :
    public CStaticText
{
protected:
    vector<string>_bufText;
    vector<string>_innerText;
    Coord _BufPos;
    Coord _CurPos;
public:
    virtual bool onkeydown(char ch) override;
    virtual void uiupd() override;
    virtual void UpdateData(bool isDown) override;
    bool Editable;
};

